package cn.fanyc.action.spring.cloud.action09;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * 认证服务器启动器
 *
 * @author Fanyc
 * @date 2019/12/15 20:50
 */
@SpringBootApplication
@EnableAuthorizationServer
@EnableResourceServer
public class Action09AuthenticationServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(Action09AuthenticationServerApplication.class, args);
    }
}
